package git.soulbgm.pojo.dto;

/**
 * CPU相关信息
 *
 * @author SoulBGM
 * @date 2019/10/10 11:03
 */
public class Cpu {
    /**
     * 逻辑CPU数
     */
    private int logicalCpuCount;

    /**
     * 物理CPU数
     */
    private int physicalCpuCount;

    /**
     * CPU总的使用率
     */
    private double totalUsed;

    /**
     * CPU系统使用率
     */
    private double sysUsed;

    /**
     * CPU用户使用率
     */
    private double userUsed;

    /**
     * CPU当前等待率
     */
    private double wait;

    /**
     * CPU当前空闲率
     */
    private double idle;

    public int getLogicalCpuCount() {
        return logicalCpuCount;
    }

    public void setLogicalCpuCount(int logicalCpuCount) {
        this.logicalCpuCount = logicalCpuCount;
    }

    public int getPhysicalCpuCount() {
        return physicalCpuCount;
    }

    public void setPhysicalCpuCount(int physicalCpuCount) {
        this.physicalCpuCount = physicalCpuCount;
    }

    public double getTotalUsed() {
        return totalUsed;
    }

    public void setTotalUsed(double totalUsed) {
        this.totalUsed = totalUsed;
    }

    public double getSysUsed() {
        return sysUsed;
    }

    public void setSysUsed(double sysUsed) {
        this.sysUsed = sysUsed;
    }

    public double getUserUsed() {
        return userUsed;
    }

    public void setUserUsed(double userUsed) {
        this.userUsed = userUsed;
    }

    public double getWait() {
        return wait;
    }

    public void setWait(double wait) {
        this.wait = wait;
    }

    public double getIdle() {
        return idle;
    }

    public void setIdle(double idle) {
        this.idle = idle;
    }
}
